
<% if not current_user.nil? %>
    Hello, <%= current_user.name %> do you want to <%= link_to "log out ?", destroy_user_session_path, :method => "delete" %>
<% else %>
    Please <%= link_to "log in", new_user_session_path %> for more features
<% end %>

